﻿// javascript proxy for webservices
// by Matthias Hertel
/* Microsoft Office SharePoint Server 2007 Search Query Web Service */

proxies.QueryService = {
    url: "http://lyra/_vti_bin/search.asmx",
    ns: "urn:Microsoft.Search"
} // proxies.QueryService

    proxies.QueryService.Query = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.Query.fname = "Query";
    proxies.QueryService.Query.service = proxies.QueryService;
    proxies.QueryService.Query.action = "urn:Microsoft.Search/Query";
    proxies.QueryService.Query.params = [
          "queryXml"
        ];
    proxies.QueryService.Query.rtype = [
          "QueryResult"
        ];

    proxies.QueryService.QueryEx = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.QueryEx.fname = "QueryEx";
    proxies.QueryService.QueryEx.service = proxies.QueryService;
    proxies.QueryService.QueryEx.action = "http://microsoft.com/webservices/OfficeServer/QueryService/QueryEx";
    proxies.QueryService.QueryEx.params = [
          "queryXml"
        ];
    proxies.QueryService.QueryEx.rtype = [
          "QueryExResult:x"
        ,
          ""
        ];

    proxies.QueryService.Registration = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.Registration.fname = "Registration";
    proxies.QueryService.Registration.service = proxies.QueryService;
    proxies.QueryService.Registration.action = "urn:Microsoft.Search/Registration";
    proxies.QueryService.Registration.params = [
          "registrationXml"
        ];
    proxies.QueryService.Registration.rtype = [
          "RegistrationResult"
        ];

    proxies.QueryService.Status = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.Status.fname = "Status";
    proxies.QueryService.Status.service = proxies.QueryService;
    proxies.QueryService.Status.action = "urn:Microsoft.Search/Status";
    proxies.QueryService.Status.params = [];
    proxies.QueryService.Status.rtype = [
          "StatusResult"
        ];

    proxies.QueryService.GetPortalSearchInfo = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.GetPortalSearchInfo.fname = "GetPortalSearchInfo";
    proxies.QueryService.GetPortalSearchInfo.service = proxies.QueryService;
    proxies.QueryService.GetPortalSearchInfo.action = "http://microsoft.com/webservices/OfficeServer/QueryService/GetPortalSearchInfo";
    proxies.QueryService.GetPortalSearchInfo.params = [];
    proxies.QueryService.GetPortalSearchInfo.rtype = [
          "GetPortalSearchInfoResult"
        ];

    proxies.QueryService.GetSearchMetadata = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.GetSearchMetadata.fname = "GetSearchMetadata";
    proxies.QueryService.GetSearchMetadata.service = proxies.QueryService;
    proxies.QueryService.GetSearchMetadata.action = "http://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata";
    proxies.QueryService.GetSearchMetadata.params = [];
    proxies.QueryService.GetSearchMetadata.rtype = [
          "GetSearchMetadataResult:x"
        ,
          ""
        ];

    proxies.QueryService.RecordClick = function() { return (proxies.callSoap(arguments)); }
    proxies.QueryService.RecordClick.fname = "RecordClick";
    proxies.QueryService.RecordClick.service = proxies.QueryService;
    proxies.QueryService.RecordClick.action = "urn:Microsoft.Search/RecordClick";
    proxies.QueryService.RecordClick.params = [
          "clickInfoXml"
        ];
    proxies.QueryService.RecordClick.rtype = [];
    
